﻿using System;

namespace Stock.Model
{
    /// <summary>
    /// MyStockEntity:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class MyStockEntity
    {
        public MyStockEntity()
        { }

        #region Model

        private int _my_stock_code;
        private string _s_code;
        private string _user_code;
        private int? _copies;
        private decimal? _inamount;
        private decimal? _outamount;
        private decimal? _feeamount;
        private decimal? _lastprice;
        private decimal? _avgprice;

        /// <summary>
        ///
        /// </summary>
        public int My_Stock_Code
        {
            set { _my_stock_code = value; }
            get { return _my_stock_code; }
        }

        /// <summary>
        ///
        /// </summary>
        public string S_Code
        {
            set { _s_code = value; }
            get { return _s_code; }
        }

        /// <summary>
        ///
        /// </summary>
        public string User_Code
        {
            set { _user_code = value; }
            get { return _user_code; }
        }

        /// <summary>
        ///
        /// </summary>
        public int? Copies
        {
            set { _copies = value; }
            get { return _copies; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? InAmount
        {
            set { _inamount = value; }
            get { return _inamount; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? OutAmount
        {
            set { _outamount = value; }
            get { return _outamount; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? FeeAmount
        {
            set { _feeamount = value; }
            get { return _feeamount; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? LastPrice
        {
            set { _lastprice = value; }
            get { return _lastprice; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? AvgPrice
        {
            set { _avgprice = value; }
            get { return _avgprice; }
        }

        #endregion Model
    }
}